package com.example.course.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课程查询条件DTO
 *
 * @author Jasmine-drs
 * @date 2025/4/25 10:35
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "CourseQueryDTO", description = "课程查询条件")
public class CourseQueryDTO {

	@ApiModelProperty("课程名称，支持模糊查询")
	private String name;

	@ApiModelProperty("课程代码，支持模糊查询")
	private String courseNum;

	@ApiModelProperty("教师ID")
	private Integer teacherId;

	@ApiModelProperty("页码，默认为1")
	private Integer pageNum = 1;

	@ApiModelProperty("每页记录数，默认为10")
	private Integer pageSize = 10;
} 